"""multiple scale split
"""

from ultralytics.data.split_dota import split_test, split_trainval
dota_root = '/root/iscas/datasets/DOTAv1'
save_dir = '/root/iscas/datasets/DOTAv1-split_ss'
# split train and val set, with labels.
split_trainval(
    data_root=dota_root,
    save_dir=save_dir,
    rates=[0.5, 1.0, 1.5],  # multiscale
    gap=500,
)
# split test set, without labels.
split_test(
    data_root=dota_root,
    save_dir=save_dir,
    rates=[0.5, 1.0, 1.5],  # multiscale
    gap=500,
)
